#include <iostream>
using namespace std;

#include "Queue1.h"

main()
{
	cout << "Testing constructors" << endl;
    QueType<int> theQ1;
	QueType<int> theQ2(25);

	//testing enqueue function
	cout << "Testing enqueue function" << endl;

	//fill queue
	for(int i = 1;i <= 25;++i)
	{
		if(theQ2.Enqueue(i))
			cout << " Enqueued " << i << endl;
		else
			cout << " Could not enqueue " << i << endl;
	}

	//testing isfull function
	cout << "testing is full function" << endl;
	if (theQ2.IsFull())
		cout << "TheQ2 is full" << endl;
	else
		cout << "TheQ2 is not full" << endl;

	return 0;
}